<!doctype html>
<html lang="zh-CN">
<head>
    <title>Virus CMS</title>
    {include file="public/meta" /}
</head>

<body class="user-select">
<header class="header">
    {include file="public/header" /}
</header>
<section class="container">
    <div class="content-wrap">
        <div class="content">
            <div class="jumbotron">
                <h1>欢迎访问virus CMS</h1>
                <p>在这里可以看到前端技术，后端程序，网站内容管理系统等文章，还有我的程序人生！</p>
            </div>
            <div id="focusslide" class="carousel slide" data-ride="carousel">
                <ol class="carousel-indicators">
                    <li data-target="#focusslide" data-slide-to="0" class="active"></li>
                    <li data-target="#focusslide" data-slide-to="1"></li>
                    <li data-target="#focusslide" data-slide-to="2"></li>
                </ol>
                <div class="carousel-inner" role="listbox">
                    <div class="item active">
                        <a href="" target="_blank"><img
                                src="/static/index/images/banner/banner_01.jpg" alt=""
                                class="img-responsive"></a>
                        <div class="carousel-caption">标题</div>
                    </div>
                </div>
                <a class="left carousel-control" href="#focusslide" role="button" data-slide="prev" rel="nofollow">
                    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                    <span class="sr-only">上一个</span>
                </a>
                <a class="right carousel-control" href="#focusslide" role="button" data-slide="next" rel="nofollow">
                    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                    <span class="sr-only">下一个</span>
                </a>
            </div>
            <article class="excerpt-minic excerpt-minic-index">
                <h2><span class="red">【今日推荐】</span><a href="" title="">ThinkPHP5.0快速开发博客系统</a></h2>
                <p class="note">博客系统的主要功能分：个人博客管理和博客后台管理两部分，个人博客管理主要包括：个人管理、博文管理、相册管理等，博客后台功能主要包括：用户管理、管理员管理等...</p>
            </article>
            <div class="title">
                <h3>最新发布</h3>
                <div class="more">
                    <a href="">后端技术</a>
                    <a href="">网站前端</a>
                    <a href="">Linux</a>
                </div>
            </div>

            <article class="excerpt excerpt-3"><a class="focus" href="article.html" title="">
                <img class="thumb" data-original="images/excerpt.jpg" src="/static/index/images/excerpt.jpg" alt=""></a>
                <header><a class="cat" href="program">后端程序<i></i></a>
                    <h2><a href="article.html" title="">php如何判断一个日期的格式是否正确</a></h2>
                </header>
                <p class="meta">
                    <time class="time"><i class="glyphicon glyphicon-time"></i> 2018-3-5 10:29:39</time>
                    <span class="views"><i class="glyphicon glyphicon-eye-open"></i> 共120人围观</span>
                    <a class="comment" href="article.html#comment"><i class="glyphicon glyphicon-comment"></i> 10000</a>
                </p>
                <p class="note">是利用当前时间离本月初有多少时间，然后用当前时间减去这个时间差，就可以得到上月最后一天了,然后用当前时间减去这个时间差，就可以得到上月最后一天了... </p>
            </article>
            <!--分页-->
            <nav class="pagination">
                <ul>
                    <li class="prev-page"></li>
                    <li class="active"><span>1</span></li>
                    <li><a href="?page=2">2</a></li>
                    <li class="next-page"><a href="?page=2">下一页</a></li>
                    <li><span>共 2 页</span></li>
                </ul>
            </nav>
        </div>
    </div>

    <!--右侧部分-->
    {include file="public/right" /}
</section>
<!--底部栏-->
{include file="public/footer" /}

<!--登录注册模态框-->
<div class="modal fade user-select" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <form action="/Admin/Index/login" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="loginModalLabel">登录</h4>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label for="loginModalUserNmae">用户名</label>
                        <input type="text" class="form-control" id="loginModalUserNmae" placeholder="请输入用户名" autofocus
                               maxlength="15" autocomplete="off" required>
                    </div>
                    <div class="form-group">
                        <label for="loginModalUserPwd">密码</label>
                        <input type="password" class="form-control" id="loginModalUserPwd" placeholder="请输入密码"
                               maxlength="18" autocomplete="off" required>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="submit" class="btn btn-primary">登录</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--注册模态框-->
<div class="modal fade user-select" id="registerModal" tabindex="-1" role="dialog" aria-labelledby="registerModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <form action="/Admin/Index/login" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="registerModalLabel">用户注册</h4>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label for="registerModalUserNmae">用户名（用户名必须是邮箱）</label>
                        <input type="text" class="form-control" id="registerModalUserNmae" placeholder="请输入用户名"
                               autofocus maxlength="15" autocomplete="off" required>
                    </div>
                    <div class="form-group">
                        <label for="registerModalUserPwd">密码</label>
                        <input type="password" class="form-control" id="registerModalUserPwd" placeholder="请输入密码"
                               maxlength="18" autocomplete="off" required>
                    </div>
                    <div class="form-group">
                        <label for="registerModalUserPwd">确认密码</label>
                        <input type="password" class="form-control" id="registerModalUserPwd" placeholder="请输入确认密码"
                               maxlength="18" autocomplete="off" required>
                    </div>
                    <div class="form-group">
                        <label for="registerModalUserPwd">验证码</label>
                        <input type="password" class="form-control" id="registerModalUserPwd" placeholder="请输入验证码"
                               maxlength="18" autocomplete="off" required style="width:105px;">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="submit" class="btn btn-primary">注册</button>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="/static/index/js/bootstrap.min.js"></script>
<script src="/static/index/js/jquery.ias.js"></script>
<script src="/static/index/js/scripts.js"></script>
</body>
</html>